package strategy.b;

/**
 * 野鸭子
 *
 * @author Mike
 *
 */
public class MallardDuck extends Duck {

	public MallardDuck() {
		this.flyBehavior = new FlyWithWings();
		this.quackBehavior = new Quack();
		this.display();
	}

	@Override
	void display() {
		System.out.println("I'm a mallardDuck.");
	}
	
}
